<link rel="stylesheet" href="templates/admin/style.css" />
<div class="top1"></div>
<div class="top2">
	<img src="templates/admin/images/logo.gif" width="212" height="45" class="l" alt="logo"/>
	<span class="r">
		<a href='?action=start'>管理首页</a>&nbsp;&nbsp;
		<a href='./' target="_blank">访问站点</a>&nbsp;&nbsp;
		<!--a href='?action=start&do=online_list'>当前在线</a-->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;欢迎您!
		<a href="javascript:void:(0)" class="red" onclick="location.href='?action=config&do=admin_edit&admin_id=<!--{$smarty.session.admin_id}-->'"><!--{$smarty.session.admin_name}--></a> &nbsp;
		<a href='?do=logout' title='退出'><img src="templates/admin/images/top-logout.gif" width="110" height="45" align="absmiddle" border="0" alt="退出"/></a>
	</span>
</div>
<div class="top3"><img src="templates/admin/images/top-buttom-1.gif" width="234" height="15" class="l" /></div>

<script type="text/javascript">
function batch(form,checkbox){
	var f=document.forms[form];
	for (var i=0;i<f.elements.length;i++){
		if (f.elements[i].type=='checkbox'){
			f.elements[i].checked=checkbox.checked?true:false;
		}
	}
}
function batch_do(form,mode){
	var f=document.forms[form];
	var s=false;
	for (var i=0;i<f.elements.length;i++){
		if (f.elements[i].type=='checkbox'){
			if (f.elements[i].checked){s=true;}
		}
	}
	if (s==false){return false;}
	if (mode=="best_yes"){f.action='?action=content&do=best_yes';f.submit();}
	if (mode=="best_no"){f.action='?action=content&do=best_no';f.submit();}
	if (mode=="delete"){f.submit();}
}
</script>